package com.zy.web.controller.schedule;

import com.zy.sjlk.service.ISjlkTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;


@Component
public class ScheduleTask {

    @Autowired
    private ISjlkTestService sjlkTestService;


    //@Scheduled(cron="0 0/2 * * * ?")
    public void refreshSchedule1() throws InterruptedException {

        //数据落库测试数据
        //sjlkTestService.loadData();

    }

}
